package com.google.gwt.sample.dynatablerf.server.dao.impl;

import java.util.HashMap;
import java.util.Map;

import com.google.gwt.sample.dynatablerf.server.domain.AbstractEntityQueryParams;

public class ServicoQueryParams extends AbstractEntityQueryParams {

	private String codigo;

	@Override
	public Map<String, Object> toParamMap() {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("id", getId());
		map.put("codigo", getCodigo());
		return map;
	}

	public String getCodigo() {
		return codigo;
	}

	public void setCodigo(String codigo) {
		this.codigo = codigo;
	}

}